package com.atkid.boot.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 * @author kid
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Student implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private String id;

	private String name;

	private String phone;

	private String department;

	private String className;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Integer club1Id;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Integer club2Id;

	private Integer sex;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Date time1;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Date time2;

	private String url1;

	private String url2;
}
